import request from '../utils/request.js';


// 用户登录接口
export function login(data) {
    return request({
        url: '/sys/login',
        method: 'POST',
        data
    })
}

// 关注用户
export function userFollow(data) {
    return request({
        url: '/user/follow',
        data
    })
}
// 发表评论
export function userArticleComment(data) {
    return request({
        url: '/user/article/comment',
        method: 'POST',
        data
    })
}